<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String title = "趣图-鸟趣";
    request.setAttribute("title", title);
    String ctx = request.getContextPath();
    request.setAttribute("ctx", ctx);
%>
<jsp:include page="/common/fronttop.jsp"/>
<div class="container">
<c:forEach var="model" items="${list}" varStatus="status">
    <c:if test="${status.index%3==0}">
        <div class="row-fluid">
    </c:if>
    <div style="text-align: center">
            <div>
               <img src="${model.url}" alt="热图"/>
            </div>
            <div>
                ${model.name}
            </div>
    </div>
    <c:if test="${status.index%3==2}">
        </div>
    </c:if>
</c:forEach>
<c:if test="${list.size()%3!=0}">
    </div>
</c:if>
</div>
<jsp:include page="/common/frontbottom.jsp"/>



